package com.navinfo.tripanalysis.common.arithmetic.custom;

import com.navinfo.tripanalysis.common.arithmetic.DrivingSlope;
import com.navinfo.tripanalysis.common.arithmetic.common.VarCommon;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 坡路行驶算法{@link DrivingSlope}的统计变量
 * @author machi
 */
@Data
public class VarDrivingSlope {
    /**
     * 上坡行驶的统计变量
     */
    private VarCommon upSlope = new VarCommon();
    /**
     * 下坡行驶的统计变量
     */
    private VarCommon downSlope = new VarCommon();
    /**
     * 平路行驶的统计变量
     */
    private VarCommon levelRoad = new VarCommon();

    /**
     * 缓存的高度和距离差
     */
    private List<VarDrivingSlopeData> heightList = new ArrayList();
}
